<section class="scrollable padder-md" data-ng-controller="SysGuidePicEditController">
    <div class="m-b-md">
        <a href="" class="btn btn-rounded btn-sm btn-icon btn-default pull-right" data-ng-click="close()">
            <i class="fa fa-reply"></i>
        </a>
        <h3 class="m-b-none text-success">
            <i class="fa fa-edit m-r-sm"></i>
            导航图片- {{sysGuidePic.id || '新增'}}
        </h3>
    </div>

    <section class="panel panel-default">
        <div class="panel-body">
            <form name="sysGuidePicForm" class="form-horizontal">
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        排序：
                    </label>
                    <div class="col-md-8">
                        <input type="number" class="form-control" data-ng-model="sysGuidePic.seq" required/>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        图片：
                    </label>
                    <div class="col-md-8">
                        <div yg-file-upload data-file-ids="sysGuidePic.imgUrl" data-is-img="true"
                             data-width="750" data-height="320" data-file-length="1">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        类型：
                    </label>
                    <div class="col-md-8">
                        <select class="form-control" data-ng-model="sysGuidePic.type"
                                data-ng-options="a.value as a.name for a in typeList">
                            <option value="" disabled>--请选择--</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-3 control-label">
                        <span class="mustinput">*</span>
                        是否启用：
                    </label>
                    <div class="col-md-8">
                        <label class="switch pull-left m-r-sm">
                            <input type="checkbox" data-ng-model="sysGuidePic.state"
                                   data-ng-true-value="1" data-ng-false-value="0"
                                   data-ng-checked="sysGuidePic.state==1">
                            <span></span>
                        </label>
                    </div>
                </div>
                <!-- 按钮 -->
                <div class="form-group text-right" style="margin-left: 15px; margin-right: 15px;">
                    <button type="button" class="btn btn-default" data-ng-click="close()">
                        <i class="i i-arrow"></i>
                        &nbsp;返回
                    </button>
                    <button type="submit" class="btn btn-success" data-ng-click="saveObj()">
                        <i class="fa fa-save"></i>
                        &nbsp;保存
                    </button>
                </div>
            </form>
        </div>
    </section>
</section>
